package com.murong.ai.chat.domain.chatbot.deepseek.module;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class OpenAiRequest {
    private String model;
    private List<MsgElement> messages;
    private boolean stream=false;

    public void addMsgElement(MsgElement msgElement){
        if(messages == null){
            messages = new ArrayList<>();
        }
        messages.add(msgElement);
    }
}
